Skip to content

fix(engine): Sit the Character down when Do Not Disturb turns on (#84) - #204

Merged
omesser merged 1 commit into
mainfrom
issue-84-dnd-sit
Sep 2, 2026
Merged

omesser merged 1 commit into
mainfrom
issue-84-dnd-sit

Conversation

@omesser

@omesser omesser commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Why

Toggling Do Not Disturb already refuses Director proposals, so the Character goes quiet, but a walk already under way keeps going. Walk velocity outlives the Primitive that started it, and nothing sat the Character down. Issue #84 asked idle Behaviors to quieten — settle rather than pace.

What changed

When Do Not Disturb turns on, a grounded or perched Character that is walking (or mid-Walk/Chase) plays sit and stops. Poke, Grab, and Throw still work. Sleep-after-idle is unchanged. Already-still Characters are left as they are.

How to verify

cargo test -p ai-buddy-core --lib -- toggling_do_not_disturb_stops_a_walk

Engine test: a walking sprite on a Perch, DND on, sits and stays still. Workspace suite was green on the branch.

Manual: start a stroll, toggle Do Not Disturb from the menu, the Character should sit rather than keep pacing.

Closes #84

Made with Cursor

Walk velocity outlives the Primitive that started it, so refusing
Director proposals left a pacing sprite on screen.

Co-authored-by: Cursor <cursoragent@cursor.com>
@omesser
omesser merged commit 09a0caf into main Sep 2, 2026
2 checks passed
@omesser
omesser deleted the issue-84-dnd-sit branch September 4, 2026 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Do Not Disturb: the buddy stays, and stops starting things

1 participant